Define conditions for conditional styles here.
ここでは、条件付きスタイルの条件が定義できます。
|
To access this command...この機能の見つけ方 |
Conditional styles are paragraph styles that have different properties depending on the context. Once defined, you cannot change the conditional properties of a conditional style.
条件付きスタイルとは、コンテキストによって異なる段落スタイルが適用されることを指します。新しいスタイルを定義する場合、スタイルを「条件付き」にするかどうかを指定します。この「条件付き」の属性を後から変更することはできませんが、条件そのものは変更可能です。
Office applies the paragraph properties of conditional styles as follows (the bold terms correspond to the titles of dialog fields): If a paragraph formatted with a conditional style is in a Context that has an Applied Style linked to it, then the Paragraph Style from that condition is used. If no style is linked to the Context, then the attributes defined in the conditional style apply. The following example illustrates this relationship:
Office は次のように条件付きスタイルを段落に割り当てます。 (太字の表記はダイアログのリストボックス名です)。使用するスタイル が設定されている コンテキスト で条件付きスタイルを使用すると、段落には 段落スタイル が適用されます。コンテキスト に条件が付いていない場合、条件付きスタイルで定義した属性が有効になります。次に、例を使ってこの操作について説明します。
Open a blank text document and write a short business letter with a header (Format - Page - Header).
新しい白紙の文書ドキュメントを開き、短いビジネスレターを入力し、メニュー 書式 → ページ... → ヘッダー でヘッダーを挿入します。
Define a new Paragraph Style by choosing New in the Styles and Formatting window, and selecting all the paragraph properties that you want for your business letter in the Paragraph Style dialog. Name this style "Business letter".
スタイルと書式設定ウィンドウの段落スタイルからコンテキストメニューを開き、新規作成... を選択して新しい段落スタイルを定義します。開いた 段落スタイル ダイアログで、先ほど入力したビジネスレターの標準段落に使う属性を指定します。このスタイルに「ビジネスレター」という名前を付けます。
Then click the Condition tab and select the Conditional style field to define the new Paragraph Style as a conditional style.
条件 タブに入り、条件付きスタイルとして チェックボックスをオンにして、新しい段落スタイルを条件付きスタイルにします。
In Context, select the header entry and under Paragraph Styles select the style for the header in your business letter; for example, the default Paragraph Style "Header". You also can select your own style.
コンテキスト から「ヘッダー」を選択して、段落スタイル から、ビジネスレターのヘッダーに適用するスタイル (例えば既定の段落スタイル「ヘッダー」)を選択します。ユーザー定義のスタイルを選択することもできます。
You can apply the Paragraph Style to the context by double-clicking the selected entry in the Paragraph Styles list box or by using Apply.
段落スタイルリストボックスで項目名をダブルクリックするか、または 割り当てボタンをクリックして、段落スタイルをコンテキストに割り当てることができます。
Click OK to close the Paragraph Style dialog, and then format all paragraphs in your business letter, including the header, with the new "Business letter" conditional Paragraph Style. (When you click in the header, you may need to display All Styles or Custom Styles in the style list to use the new business letter style.)
OK ボタンをクリックして段落スタイルダイアログを閉じます。新しい条件付き段落スタイル「ビジネスレター」を使用したヘッダーと、ビジネスレターのすべての段落を書式設定します。新しいスタイル「ビジネスレター」を使用するために、場合によっては「すべてのスタイル」または「ユーザー定義のスタイル」をスタイルと書式設定ウィンドウに表示する必要があります。
The header text now has the attributes you specified in the Header Paragraph Style, while the other parts of the document have the attributes defined in the business letter conditional Paragraph Style.
ヘッダー内のテキストには段落スタイル「ヘッダー」で定義されている属性が割り当てらます。またドキュメントの他のテキスト部分には、 (条件付き)段落スタイルの「ビジネスレター」で定義した属性が適用されます。
![]() | The "Text body" Style was created as a conditional style. Therefore, any styles you derive from it can be used as conditional styles.
「本文」スタイルは条件付きスタイルとして定義されています。ですから「本文」スタイルを元に作成したものであればどんなスタイルでも条件付きスタイルとして使用できます。 |
The Paragraph Style applied to the context is used when exporting to other formats (RTF, HTML, and so on).
RTF、HTML などの別の書式にエクスポートする際には、コンテキストに割り当てられた段落スタイルが適用されます。
Check this box to define a new style as a conditional style.
新規定義中のスタイルを条件付きスタイルとする場合は、このチェックボックスをオンにします。
Here you can see the Office predefined contexts, including outline levels 1 to 10, numbering/bullets levels 1 to 10, table header, table contents, section, border, footnote, header and footer.
Office に事前定義されているコンテキストが一覧表示されます。ここでのコンテキストは、アウトライン (レベル 1 ~ 10)、番号付け (レベル 1 ~ 10) 、表のヘッダー、表、セクション、枠、脚注、文末脚注、ヘッダー、フッターに分かれています。
Here you can see the list of all Paragraph Styles applied to a context.
ここには、コンテキストに割り当てられているすべての段落スタイルが表示されます。
A list of all Paragraph Styles which can be assigned to a context is contained in the list box.
コンテキストへの割り当て可能なすべての段落スタイルが、リストボックスに表示されます。
Click here to remove the current context assigned to the selected style.
このボタンをクリックすると、選択中のスタイルに割り当てられているコンテキストが削除されます。
Click Assign to apply the selected Paragraph Style to the defined context.
割り当て をクリックすると、選択した 段落スタイル が、選択中の コンテキスト に割り当てられます。